// 引入CSS2渲染器CSS2DRenderer和CSS2模型对象CSS2DObject
import { CSS2DObject } from 'three/addons/renderers/CSS2DRenderer.js';
function tag(){
    const div = document.getElementById('tag')
    const css2dObject = new CSS2DObject(div)
    div.style.pointerEvents = 'none';//避免HTML标签遮挡三维场景的鼠标事件
    return css2dObject
}
export {tag}